<?php


namespace app\api\validate;


class IDMustBePostivelnt extends baseValidate {

    //自定义验证规则
    protected  $rule = array('id'=>'require|isInteger');

    //自定义错误提示
    protected $message = array('id'=>'id必须是正整数');

}
























